const http = uni.$u.http
// 用户登录
export const login = (data) => http.post('user/login', data)
// 用户信息
export const detail = (data) => http.get('user/detail', {
	params: data
})
// 更新用户信息
export const modify = (data) => http.post('/user/modify', data)

// 封面领取记录
export const cover = (data) => http.get('user/cover', {
	params: data
})
// 我的绘画
export const draw = (data) => http.get('draw/lists', {
	params: data
})
// 签到
export const sign = (data) => http.post('/user/sign', data)
// 签到数据
export const get_sign = (data) => http.get('user/get_sign', {
	params: data
})
// 天天任务
export const sign_day_coin = (data) => http.post('/user/sign_day_coin', data)
// 获取试玩小程序
export const get_play_applet = (data) => http.get('user/get_play_applet', {
	params: data
})
// 试玩日志
export const play_applet = (data) => http.post('/user/play_applet', data)
// 作者大厅
export const author = (data) => http.get('user/author', {
	params: data
})
// 作者详情
export const boss = (data) => http.get('user/boss', {
	params: data
})
// 积分日志
export const points_logs = (data) => http.get('user/points_logs', {
	params: data
})
// 资金明细
export const capital = (data) => http.get('user/capital', {
	params: data
})
export const order = (data) => http.get('user/order', {
	params: data
})
// 搜索作者
export const search = (data) => http.get('user/search', {
	params: data
})
